package com.ruoyi.base.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 充值对象 water_card
 * 
 * @author ruoyi
 * @date 2025-04-24
 */
public class WaterCard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 卡号 */
    @Excel(name = "卡号")
    private String cardNum;

    /** 姓名 */
    @Excel(name = "姓名")
    private String cardName;

    /** 金额 */
    @Excel(name = "金额")
    private String cardPay;

    /** 类型 */
    @Excel(name = "类型")
    private String cardType;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCardNum(String cardNum) 
    {
        this.cardNum = cardNum;
    }

    public String getCardNum() 
    {
        return cardNum;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }
    public void setCardPay(String cardPay) 
    {
        this.cardPay = cardPay;
    }

    public String getCardPay() 
    {
        return cardPay;
    }
    public void setCardType(String cardType) 
    {
        this.cardType = cardType;
    }

    public String getCardType() 
    {
        return cardType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cardNum", getCardNum())
            .append("cardName", getCardName())
            .append("cardPay", getCardPay())
            .append("cardType", getCardType())
            .append("createTime", getCreateTime())
            .toString();
    }
}
